<?php //thiet lap form action/?>
<H1>Update my information</H1>
<p> This's your information</p>
<?php 
	//tao form
	echo $this->Form->create('Trainee', array('action'=>'update_info'));
	echo $javascript->link(array('views/trainees/register'));
?>
   	  <div class="leftbox">
    <h1>change my Address</h1>
       	  <div class="name">Address Type: *</div>
              <? echo $this->Form->input('addtyp', array('type'=>'select', 'options' => array('0' => 'Home', '1' => 'Office'), 'class'=>'lst_choice14', 'label' => false, 'empty' => 'Click one...')); ?>
            
            <div class="name">Address: *</div>
            <? echo $this->Form->input('address', array('label' => false,	'class' => 'txt_input'));?>
            
<div class="col14">
                  <div class="name">Country: *</div>
                  <? 
						echo $this->Form->input(
							'country_id',
							array(
				
								'label' => false,								
								'class' => 'lst_choice14',
								'id' => 'ddlcountry'
							)
						);
					?> 
              </div>
<div class="col142">
                  <div class="name">State:</div>
                  <select name="select" class="lst_choice14" id="select">
                    <option>Click one ...</option>                    
                  </select>          
              </div>
              
              <div id="clearone"></div>
<div class="col14">
                  <div class="name">City: *</div>
				  <div id="cities">
				  <?
					echo $this->Form->input(
						'city_id',
						array(					
							'empty' => '-- Select city --',
							'label' => false,
							'class' => 'lst_choice14',
							'id' => 'ddlcity'
						)
					);
					?>
					</div>
              </div>
          <div class="col142">
          <div class="name">Pin code:</div>
          <? echo $this->Form->input('pincode', array('label' => false,	'class' => 'txt_input14'));?>
          </div>
          <div id="clearone"></div>
        </div><!--endleftbox-->
     		
      	<div class="rightbox">
          <h1>change my email and phone</h1>
  		  	<div class="name">Email address: * <span>(Confirm email will be send to this email)</span></div>
              	<? echo $this->Form->input('email', array('label' => false,	'class' => 'txt_input'));?>
			<div class="name">ID card / passport number: *</div>
              	<? echo $this->Form->input('idcard', array('label' => false,	'class' => 'txt_input'));?>
               
              <div id="clearone"></div>
              
              
          <div class="col14">
          <div class="name">Phone Type: *</div>
          <? echo $this->Form->input('phonetyp', array('type'=>'select', 'options' => array('0' => 'Home', '1' => 'Office', '2' => 'Mobile'), 'class'=>'lst_choice14', 'label' => false, 'empty' => 'Click one...')); ?>
          </div>
          <div class="col142">
          <div class="name">Phone number: *</div>
          <? echo $this->Form->input('phone', array('label' => false,	'class' => 'txt_input14'));?>  
          </div>
          <div id="clearone"></div>
          <div class="col14">
          <div class="name">Fax Number: </div>
          <? echo $this->Form->input('fax', array('label' => false,	'class' => 'txt_input14'));?>
          </div>
          <div class="col142">
          <div class="name">Yahoo Messenger ID: </div>
          <? echo $this->Form->input('im', array('label' => false,	'class' => 'txt_input14'));?>
          </div>
          <div id="clearone"></div>
      	</div><!--endrightbox-->
        
        
    	<div id="clearone"></div>
         
    	<div class="nav_btn">
            <a href="#" class="rightbtn"><? echo $this->Form->end('Submit');?></a>
            <a href="#" class="leftbtn"><input name="" type="reset" value="Reset" /></a>
            <div id="clearone"></div>
        </div>
 <?
	//echo $error;
	//echo $this->Form->end();
?>